package com.eat.fish_service.mapper;

import com.eat.fish_service.entity.Dao.FishNum;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author CZF
 * @since 2022-04-26
 */
@Mapper
public interface FishNumMapper extends BaseMapper<FishNum> {
    public Integer fishCountGroupByDate(Long aquariumId);

    public List<String> xAxis(Long aquariumId, Integer dayCount);

    public List<Integer> yAxis(Long aquariumId,String date);
}
